package OOPS;

class Hello12 {
	String instanceInHello12 = "Instance of Hello12";
	static String staticInHello12 = "static of Hello12";

	void show() {
		System.out.println("** show in Hello12 class **");
		System.out.println("abc\t:" + abc);
		// System.out.println(mn);
		int mn = 90;
		final int xy = 100;
		System.out.println(mn);
		// Xyz xyobj=null;
		class Xyz {
			// static int mno=100;
			void display() {
				System.out.println("*** display in local inner class ***");
				System.out.println(instanceInHello12);
				System.out.println(staticInHello12);
				// System.out.println(mn+100);
				System.out.println(xy);
			}
		}
		Xyz obj = new Xyz();
		obj.display();
		mn = 78;
		// xy=23;
		System.out.println("in show method\t:" + mn);
		obj.display();
	}

	int abc;
}

class Test53 {
	public static void main(String str[]) {
		new Hello12().show();
	}
}